package com.woniuxy.carrental.mapper;

import com.woniuxy.carrental.entity.Emp;
import com.woniuxy.carrental.entity.WarnRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author author
 * @create 2021-09-28 17:38
 */
public interface WarnRecordMapper {

    public void addWarnRecord(WarnRecord warnRecord);


    public void updatewarnRecord(@Param("warnRecord") WarnRecord warnRecord);

    public List<WarnRecord> selectAllwarnRecord(
            @Param("warnRecord") WarnRecord warnRecord,
            @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

    public int selectwarnRecordCountBylimit(@Param("warnRecord") WarnRecord warnRecord);

    public void delectwarnRecordByid(int warnid);

    public List<Emp> getallEmpbyzqq();

    public void updateStareBywarnid(int warnid);

}
